<?php

namespace App\Library\MakeFile;

class ControllerMakeFile extends BaseMakeFile
{
//    private $clientNames = [
//        'B',
//        'Pos'
//    ];

    // 跑
    public function doModule()
    {
//        foreach ($this->clientNames as $clientName) {
        $this->mkModuleDir()
             ->getStub()
             ->mkClassDir()
//                 ->setClientName($clientName)
             ->mkClientDir()
             ->replaceTotal()
             ->putFile();
//        }

        echo "Create {$this->fileName} Success!" . PHP_EOL;
    }
}
